using System;
using System.Collections.Generic;
using System.Drawing;
using System.Threading;

using Avalonia.Controls;
using NumericalAnalysis.Display.Mission;
using ScottPlot.Avalonia;


namespace NumericalAnalysis.Display;

public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();

        RunMission();
    }


    void RunMission()
    {
        //TEST
        AvaPlot avaPlot1 = this.Find<AvaPlot>("AvaPlot1");
        //Mission.ScottPlotInit.ScottPlotTest(avaPlot1);

        //InterpolationMission.LagrangeInterpolationDisplay(avaPlot1);
        //InterpolationMission.AitkenInterpolationDisplay(avaPlot1);
        //InterpolationMission.NewtonDifferenceQuotientDisplay(avaPlot1);
        // InterpolationMission.NewtonDifferenceInterpolationDisplay(avaPlot1);
        //InterpolationMission.HermiteInterpolationDisplay(avaPlot1);
        InterpolationMission.MathNetInterpDisplay(avaPlot1);


        //InterpolationMission. RungeDisplay(avaPlot1);
    }


}